package demo1;

/**
 * Created with IntelliJ IDEA.
 * User: 12629
 * Date: 2022/2/23
 * Time: 21:21
 * Description:
 */


public class Test1 {
    public int a = 10;
    protected int b = 20;

    protected void func() {

    }

    public static void main(String[] args) {
        Test1 test1 = new Test1 ();
        System.out.println("同一个包中的同一个类："+test1.b);
    }
}
